#pragma once

#include <amk3/SysConfig.h>
#include <map>


class InsConfig : public SysConfig
{
public:
	std::string scene_type;
	std::string scene_path;
	std::string scene_nameFilter;
	//std::string scene_options;
	std::map<std::string, std::string> scene_options;
	inline bool scene_has_option(std::string key) { return scene_options.count(key) >= 1; }
	inline std::string scene_get_option(std::string key) { return scene_options.count(key) >= 1 ? scene_options[key] : ""; }

	std::string capture_type;
	std::string capture_pathfile;
	std::string capture_outdir;
	std::string capture_outext;
	float capture_interval;

	float camera_fov;
	int camera_viewwidth;
	int camera_viewheight;

public:
	InsConfig();

	static InsConfig* instance();
	virtual int readFile(std::string path) override;

};

